Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AP_HAL_ChibiOS: Set RADIX2HD HAL_I2C_INTERNAL_MASK #25672

Merged
merged 1 commit into from
Dec 5, 2023

Conversation

mluessi
Copy link
Contributor

@mluessi mluessi commented Nov 30, 2023

The detection of external compasses wasn't working and I though I had it fixed in #25291. It still wasn't working because HAL_I2C_INTERNAL_MASK wasn't set and so no external buses were scanned (as HAL_I2C_INTERNAL_MASK defaults to 1).

Note that for some reason it was working with the HMC5983 I used for testing, but other compasses, e.g., the QMC5883L were not working.

Copy link
Collaborator

@andyp1per andyp1per left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your i2c bus is both internal and external so this is correct

@mluessi
Copy link
Contributor Author

mluessi commented Dec 1, 2023

@andyp1per thanks for the confirmation!

@tridge tridge merged commit 6e417f1 into ArduPilot:master Dec 5, 2023
36 of 38 checks passed
@rmackay9
Copy link
Contributor

rmackay9 commented Dec 5, 2023

This is included in Copter-4.4.4-beta1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants